<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%String path = request.getContextPath(); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="美国,欧美,游戏专线独享EB,socks5代理IP,proxy"/>
<meta name="description" content="socks5自由在线提取系统，出售包日EB，S5代理，包月独享专线，保证独享专线一个IP一个人使用，大量proxy" />
<title>文件上传详细</title>
<style type="text/css">
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}

.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}

.STYLE6 {
	color: #000000;
	font-size: 14px;
}

.STYLE10 {
	color: #000000;
	font-size: 12px;
}

.STYLE19 {
	color: #344b50;
	font-size: 12px;
}

.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}

.STYLE22 {
	font-size: 12px;
	color: #295568;
}
</style>
<script type="text/javascript" src="<%=path%>/js/jquery-1.4.3.js"></script>
<script type="text/javascript">
	$(function(){
		$.post('onlynotes.do',{},function(o){
			$('#num').html(o.total);
			$('#errornum').html(o.errorTotal);
		});
		function show(){
			$.post('onlynotes.do',{},function(o){
				if(o.flag){
					clearInterval(inter);
					$('#errornum').html(o.errorTotal);
					$('#uping').remove();
					$('#errornum').after("&nbsp;&nbsp;&nbsp;&nbsp;下载失败IP");
				}else{
					$('#num').html(o.total);
					$('#errornum').html(o.errorTotal);
				}
			});
		}
		inter = setInterval(show,5000);
	});
</script>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0"
		cellspacing="0">
		<tr>
			<td height="30">
				<table width="100%" border="0" cellspacing="0"
					cellpadding="0">
					<tr>
						<td height="24" bgcolor="#353c44"><table width="100%"
								border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td><table width="100%" border="0" cellspacing="0"
											cellpadding="0">
											<tr>
												<td height="19" valign="bottom"><img
													src="<%=path%>/images/tb.gif" width="14" height="14" /><span
													style="vertical-align: middle;" class="STYLE1">
														上传详细</span></td>
												<td valign="bottom"></td>
											</tr>
										</table></td>
									<td>&nbsp;</td>
								</tr>
							</table></td>
					</tr>
				</table>
				</td>
		</tr>
		<tr>
			<td>
				<table cellpadding="0" cellspacing="0"  width="90%" align="center" border="1px" bordercolor="#d3eaef">
					<thead><tr><th height="20" bgcolor="#d3eaef" class="STYLE6">总条数</th><th height="20" bgcolor="d3eaef" class="STYLE6">剩余条数</th><th height="20" bgcolor="d3eaef" class="STYLE6">失败条数</th></tr></thead>
					<tbody>
							<tr align="center">
								<td width="30%" height="40" bgcolor="#FFFFFF"><s:property value="#session.totalOnlyLine"/></td>						
								<td height="40" bgcolor="#FFFFFF"><span id="num"></span></td>						
								<td height="40" bgcolor="#FFFFFF"><a href="<%=path%>/admin/fileOnlyDown.do" ><span id="errornum"></span></a></td>						
							</tr>
					</tbody>
				</table>
			</td>
		</tr>
		<tr id="uping">
		<td align="center"><div><img src="<%=path %>/images/blue-loading.gif" style="vertical-align:bottom;"><span>上传中...</span></div></td>
		</tr>
	</table>
	
</body>
</html>